<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%
	request.setCharacterEncoding("UTF-8");
	String htmlData = request.getParameter("content1") != null ? request.getParameter("content1") : "";
%>
<%
	String basePath = request.getContextPath();
	String path = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+basePath+"/";
	request.setAttribute("path",path);
%>
<!doctype html>
<html>
<head>
	<meta charset="utf-8">
	<meta name="viewport" content="initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no"/>
	<meta name="format-detection" content="telephone=no,address=no,email=no"/>
	<meta name="keywords" content="" />
	<meta name="description" content="" />
	<title>KAA电商管理后台_会员列表</title>
	<script type="text/javascript" src="${path}/js/jquery-2.1.1.min.js"></script>
	<!-- BOOTSTRAP STYLES-->
    <link href="${path}/assets/css/bootstrap.css" rel="stylesheet" />
     <!-- FONTAWESOME STYLES-->
    <link href="${path}/assets/css/font-awesome.css" rel="stylesheet" />
        <!-- CUSTOM STYLES-->
    <link href="${path}/assets/css/custom.css" rel="stylesheet" />
     <!-- GOOGLE FONTS-->
   <link href='http://fonts.googleapis.com/css?family=Open+Sans' rel='stylesheet' type='text/css' />
</head>

<body class="main" id="pageCotent">
	
	<div class="main_con_wrap">
		<%=htmlData%>
		<form name="example" method="post" action="${path}/updatePhotographer" enctype="multipart/form-data">
			<p>
				<a href="./photographerList">BACK</a>
			</p>
			
			 <p> 
			 	<input type="hidden" id="photographerId" name="photographerId" 
				class="form-control" value="${photographer.id}"/>
				<span>摄影师头像:<input type="file" name="file" style="width:30%" /></span>
			</p>
			<p>
				<span>摄影师名称:</span>
				<input type="text" id="name" name="name" 
				class="form-control" value="${photographer.name}"/>
			</p>
			<p>
				<span>个人简介:</span>
				<input type="text" id="briefintro" name="briefintro" 
				class="form-control" value="${photographer.briefintro}"/>
			</p>
			<p>
				<span>预约数:</span>
				<input type="text" id="appointment" name="appointment" 
				class="form-control" value="${photographer.appointment}"/>
			</p>
			
			<p>
				<span>工资经验:</span>
				<input type="text" id="experience" name="experience" 
				class="form-control" value="${photographer.experience}"/>
			</p>

			<input type="submit" name="button" value="提交内容" /> 
		</form>
	</div><!-- main_con_wrap -->


 <!-- /. WRAPPER  -->
    <!-- SCRIPTS -AT THE BOTOM TO REDUCE THE LOAD TIME-->
    <!-- JQUERY SCRIPTS -->
    <script src="${path}/assets/js/jquery-1.10.2.js"></script>
      <!-- BOOTSTRAP SCRIPTS -->
    <script src="${path}/assets/js/bootstrap.min.js"></script>
      <!-- CUSTOM SCRIPTS -->
    <script src="${path}/assets/js/custom.js"></script>
</body>
</html>